package com.example.kotlin01.model

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

//表名为user
@Entity(tableName = "user")
data class User(
    @PrimaryKey val id: Long,
    @ColumnInfo(name = "username") val username: String?,
    @ColumnInfo(name = "sex") val sex: String?
)
